export const pageNameInit = function (route, pageData) {
    const gName = route.query.pageName;
    if (gName) return gName
    return pageData?.[0].children?.[0].path;
}